<include file="Public:head"/> 
<link rel="stylesheet" type="text/css" href="{weixin::RES}/css/cymain.css" />
        <div class="content" style="width:920px; background:none; margin-left:275px; border:none; margin-bottom:30px;" >
<div class="cLineB">
<h4 class="left">咨询管理({weixin:$page}) </h4>
<div class="searchbar right">
<form method="post" action="">
<input type="text" id="msgSearchInput" class="txt left" placeholder="输入关键词搜索" name="searchkey" value="">
<input type="hidden" name="ac" value="hotels-list">
<input type="hidden" name="id" value="9878">
<input type="hidden" name="wxid" value="gh_423dwjkewad">
<input type="submit" value="搜索" id="msgSearchBtn" href="" class="btnGrayS" title="搜索">
</form>
</div>
<div class="clr"></div>
</div>
<!--tab start-->
<div class="tab">
<ul>
<li class="tabli" id="tab0"><a href="{weixin::U('Expert/index',array('token'=>$token))}">专家管理</a></li>
<li class="tabli" id="tab2"><a href="{weixin::U('Expert/levels',array('token'=>$token))}">专家级别管理</a></li>
<li class="tabli" id="tab2"><a href="{weixin::U('Expert/titles',array('token'=>$token))}">职称管理</a></li>
<li class="current tabli" id="tab2"><a href="{weixin::U('Expert/consultations',array('token'=>$token))}">咨询管理</a></li>
<li class="tabli" id="tab2"><a href="{weixin::U('Expert/wxUsersMgr',array('token'=>$token))}">微信用户管理</a></li>
</ul>
</div>
<!--tab end-->
<div class="cLine">
<div class="clr"></div>
</div>
<div class="msgWrap">
<form method="post" action="" id="info">
<input name="delall" type="hidden" value="">
<input name="wxid" type="hidden" value="">
<table class="ListProduct" border="0" cellspacing="0" cellpadding="0" width="100%">
<thead>
<tr>
<th>ID</th>
<th width="100">咨询人</th>
<th width="80">咨询类型</th>
<th width="200">咨询内容</th>
<th width="100">咨询费</th>
<th width="130">状态</th>
<th width="130">提交时间</th>
 
<th width="200" class="norightborder">操作</th>
</tr>
</thead>
<tbody>
<tr></tr>
<volist name="list" id="hostlist"> 
<if condition="$hostlist['is_delete'] eq 0">
<tr>
<else />
<tr style="background: #eee; color: #999">
</if>
<td>{weixin:$hostlist.id}</td>
<td>{weixin:$hostlist.username}</td>
<td>{weixin:$hostlist.consult_type}</td>
<td class="comment_inner">{weixin:$hostlist.consult_desc}</td>
<td>{weixin:$hostlist.consult_fee}</td>
<td>{weixin:$hostlist.strStatus}</td>
<td>{weixin:$hostlist.consult_time|date="Y-m-d H:i:s",###}</td> 

<td class="norightborder">
  <a href="{weixin::U('Expert/consultationInfo',array('id'=>$hostlist['id'],'token'=>$token))}">咨询</a>
  <a href="{weixin::U('Expert/solutions',array('id'=>$hostlist['id'],'token'=>$token))}">解答</a>
  <a href="{weixin::U('Expert/payment',array('id'=>$hostlist['id'],'token'=>$token))}">支付详情</a>
  <if condition="$hostlist['is_delete'] eq 0">
  <a href="javascript:drop_confirm('您确定要强制取消该咨询吗?', '{weixin::U('Expert/delConsultation',array('id'=>$hostlist['id'],'token'=>$token))}');">强制取消</a>
  </if>
  <if condition="$hostlist['status'] eq 11">
  <a style="color: red;" href="javascript:drop_confirm('您确定已退款?', '{weixin::U('Expert/refund',array('id'=>$hostlist['id'],'token'=>$token))}');">申请退款</a>
  </if>
</td>
</tr>
</volist>
</tbody>
</table>
</form>
</div>
<div class="cLine">
<div class="pageNavigator right">
<div class="pages">{weixin:$page}</div>
</div>
<div class="clr"></div>
</div>
</div>
<style>
    tr td
    {
	   height: 30px;
    }
    .comment_inner{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height:30px;
    }   

</style>
<include file="Public:footer"/>